home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 43.zip / ANC 21.adf / i.doc < prev    next >
Text File  |  1988-01-19  |  3KB  |  52 lines

  1.                                 CLIcon
  2.                     Icon executer for CLI programs
  3.                    Copyright (C) by 1988 Bryan Ford
  4.  
  5.     I wrote this program because, basically, I wasn't at all satisfied with
  6. IconExec, which is the only other one I know of.  First, IconExec requires
  7. a separate copy each time it's used.  Second, it gives very little control
  8. over the window size, and doesn't give the option to halt the window after
  9. the program has finished executing.  So here is my version.
  10.     To use it, you should copy CLIcon to C: or another place on your
  11. Workbench disk, so it is easily accessible by all its "clients".  Then, all
  12. you need to do is create icons for all of the CLI programs you want to run.
  13. They must be PROJECT icons, not TOOL icons.  If you don't have a project
  14. icon handy, just load up an application (like the Notepad), save a project
  15. of some kind, and just use its icon.  You can edit the icon with IconEd.
  16.     To set up the icon so it will load with CLIcon, use the Workbench Info
  17. command.  Set the Default Tool field to C:CLIcon or wherever you put it.
  18. The ToolTypes field can have several things.  There is one required
  19. ToolType: COMMAND.  Set this to the command you wish to execute when this
  20. icon is activated.  It must contain the full path to the CLI program, even
  21. if it is in the same directory as the icon, unless it's in the C directory.
  22. (This is a bug I couldn't fix, and I don't have time to work on it.)  For
  23. example, to get a directory of RAM whenever you click the icon, set a
  24. ToolType as "COMMAND=Dir RAM:".
  25.     You can set the optional WINDOW tooltype to the name to open for the
  26. program's window.  If you don't specify it, it defaults to
  27. "CON:0/0/640/200/Application Window".  If you wanted the RAW: device, with
  28. a smaller window, you might use "RAW:10/10/100/50/Raw Window" or something
  29. like that.
  30.     The last ToolType, FLAGS, can activate two features of CLIcon.  If it
  31. containts WAITBEFORE, then CLIcon will pause before it runs the program
  32. with a message, and wait for you to press RETURN.  If it contains
  33. WAITAFTER, it will pause after the program is run, when it is about to
  34. close the window.  This gives you a chance to see the program's output
  35. before you lose the window.  If you want both, just use
  36. "FLAGS=WAITBEFORE|WAITAFTER".
  37.     I haven't had time to test this program fully, so please report any
  38. bugs to me.  One problem I had while testing was when I was using Info to
  39. change the icon's parameters.  The ToolTypes started merging together.  I
  40. think (hope :) it's a problem with Info, not CLIcon, since CLIcon wasn't
  41. even running when it happened.
  42.     I'm not going to require a donation, but if you use it a lot and think
  43. it's worth something, just send whatever you think it's worth to the
  44. address below.  Comments and ideas welcome, flames sent to NIL:.
  45.     Enjoy!
  46.                             Bryan Ford
  47.                     Snail:  1790 East 1400 North
  48.                             Logan, UT 84321
  49.                     Phone:  (801)753-1159
  50.                     Bitnet: FATQW@USU
  51.  
  52.